package com.example.homeworkdev.entity;

public class Message {

    //头像
    int img;
    //名字
    String name;
    //消息
    String messsage;
    //发送时间
    String time;
    //是否是接收
    boolean isSend;

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMesssage() {
        return messsage;
    }

    public void setMesssage(String messsage) {
        this.messsage = messsage;
    }

    public boolean isSend() {
        return isSend;
    }

    public void setSend(boolean send) {
        isSend = send;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Message(int img, String name, String messsage, String time, boolean isSend) {
        this.img = img;
        this.name = name;
        this.messsage = messsage;
        this.time = time;
        this.isSend = isSend;
    }
}
